<template>
  <router-view />
</template>
<script lang="ts" setup>
import { useRoute } from 'vue-router'
const route = useRoute()
let noLayout: any = [
  '/login',
  '/canvas/painting',
  '/article/add',
  '/article/modify',
]
</script>
<style lang="scss" scoped>
/* 切换页面时的过渡动画 */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}
</style>
